<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="__CSS__/pintuer.css">
    <link rel="stylesheet" href="__CSS__/admin.css">
    <script src="__JS__/jquery.js"></script>
    <script src="__JS__/pintuer.js"></script>
    <script src="__JS__/ajaxfileupload.js"></script>
    <script src="__JS__/layer/layer.js"></script>
    <link href="__CSS__/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="__CSS__/animate.css" rel="stylesheet">
    <link href="__CSS__/style.css" rel="stylesheet">
</head>
<body>

<form method="post" action="{:url('Business/select')}" id="listform">
    <div class="panel admin-panel">
        <div class="panel-head"><strong class="icon-reorder"> 酒店列表</strong> <a href="" style="float:right; display:none;">添加字段</a></div>
        <div class="padding border-bottom">
            <ul class="search" style="padding-left:10px;">
                <li> <a class="button border-main icon-plus-square-o" href="{:url('Business/add')}"> 添加内容</a> </li>
                <li>
                    <select name="cid" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">
                        <option value="">请选择分类</option>
                        <option value="0">酒店</option>
                        <option value="1">农家乐</option>
                    </select>
                </li>
                <li>
                    <input type="text" placeholder="请输入搜索地区关键字" name="name" class="input" style="width:250px; line-height:17px;display:inline-block" />
                </li>
                <li>
                    <input type="text" placeholder="请输入搜索名" name="keywords" class="input" style="width:250px; line-height:17px;display:inline-block" />
                    <button class="button border-main icon-search" onclick="changesearch()">搜索</button>
                </li>
            </ul>
        </div>
        {volist name="data" id="v"}
        <div class="col-sm-4" style="margin-top: 12px;">
            <div class="contact-box">
                <a href="{:url('Profile/profile')}?business_id={$v.id}">
                    <div class="col-sm-4">
                        <div class="text-center">
                            <img alt="image" class="img-circle m-t-xs img-responsive" src="__UPLOADS__/{$v.img}"/>
                        </div>
                    </div>
                    <div class="col-sm-8">
                        <h3><strong>{$v.name}</strong></h3>
                        <p><i class="fa fa-map-marker"></i>{$v.detailed}</p>
                        <strong>{$v.detailed}</strong><br>
                        <address>
                        E-mail:{$v.Mail}<br>
                        Weibo:<a href="http://baidu.com">http://baidu.com</a><br>
                        <abbr title="Phone">Tel:</abbr> {$v.phone}
                        </address>
                    </div>
                    <div class="clearfix"></div>
                </a>
            </div>
        </div>
        {/volist}
        <tr id="w">
            <td></td>
            <td colspan="8"><div class="pagelist" style="position: absolute;top: 560px;text-align: center;left: 700px;"> {$page}</div></td>
        </tr>
    </div>
    <hr>
    <div class="panel admin-panel">
        <div class="panel-head"><strong class="icon-reorder"> 农家乐列表</strong> <a href="" style="float:right; display:none;">添加字段</a></div>
        <div class="padding border-bottom">
        </div>
        {volist name="da" id="v"}
        <div class="col-sm-4" style="margin-top: 12px;">
            <div class="contact-box">
                <a href="{:url('Mailbox/mailbox_list')}?mailbox_id={$v.id}">
                    <div class="col-sm-4">
                        <div class="text-center">
                            <img alt="image" class="img-circle m-t-xs img-responsive" src="__UPLOADS__/{$v.img}"/>
                        </div>
                    </div>
                    <div class="col-sm-8">
                        <h3><strong>{$v.name}</strong></h3>
                        <p><i class="fa fa-map-marker"></i>{$v.detailed}</p>
                        <strong>{$v.detailed}</strong><br>
                        <address>
                            E-mail:{$v.Mail}<br>
                            Weibo:<a href="http://baidu.com">http://baidu.com</a><br>
                            <abbr title="Phone">Tel:</abbr> {$v.phone}
                        </address>
                    </div>
                    <div class="clearfix"></div>
                </a>
            </div>
        </div>
        {/volist}
        <tr id="x">
            <td></td>
            <td colspan="8"><div class="pagelist" style="position: absolute;top: 560px;text-align: center;left: 700px;">{$pge}</div></td>
        </tr>
    </div>
</form>
<script src="__JS__/jquery.min.js?v=2.1.4"></script>
<script src="__JS__/bootstrap.min.js?v=3.3.6"></script>



<!-- 自定义js -->
<!--<script src="__JS__/content.js?v=1.0.0"></script>-->



<script>
    $(document).ready(function () {
        $('.contact-box').each(function () {
            animationHover(this, 'pulse');
        });
    });
</script>
</body>
</html>